package com.example.dw.apptest1;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

public class Page63 extends AppCompatActivity {
    private ImageView imageView1;
    private final int CODE = 0*177;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.page63);
    }


    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        if (requestCode == CODE && resultCode == CODE){
            int back_image = data.getIntExtra("back_img", R.drawable.icon1);
            imageView1.setImageResource(back_image);
        }
    }

    public void click63(View view) {
        Intent intent = new Intent(this,Page64.class);
        startActivityForResult(intent,CODE);
    }
}
